package com.xlf.book.po;

import java.util.Date;

/**
 * @author xie'lin'feng
 * @date 2020-07-17-16:55
 * @description 图书信息类
 */
public class BookInfo {
    /**编号*/
    private Integer id;
    /**图书名称*/
    private String bookName;
    /**价格*/
    private Double price;
    /**类型编号*/
    private Integer typeId;
    /**出版日期*/
    private Date bornDate;
    /**图片路径*/
    private String imgUrl;
    /**审核状态 1已审核 -1未审核*/
    private Integer state;

    public BookInfo() {
    }

    public BookInfo(Integer id, String bookName, Double price, Integer typeId, Date bornDate, String imgUrl, Integer state) {
        this.id = id;
        this.bookName = bookName;
        this.price = price;
        this.typeId = typeId;
        this.bornDate = bornDate;
        this.imgUrl = imgUrl;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Date getBornDate() {
        return bornDate;
    }

    public void setBornDate(Date bornDate) {
        this.bornDate = bornDate;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
